import { Component, OnInit, Input, Inject, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'app-player-editor',
  templateUrl: './player-editor.component.html',
  styleUrls: ['../../editor.less']
})
export class PlayerEditorComponent implements OnInit {

  constructor() { }
  @Input() selectEl = {
    type: 'player',
    topLeft: false,
    topRight: false,
    bottomLeft: false,
    bottomRight: false,
  }
  @Output() onRemove = new EventEmitter(null)
  @Output() onSave = new EventEmitter(null)
  ngOnInit(): void {
  }
  save() {
    this.onSave.emit()
  }
  remove() {
    this.onRemove.emit()
  }
}
